<div class="fadeIn">
    <br>
    <ol class="breadcrumb" style="margin-bottom: 0px">
        <li class="active"><span class="glyphicon glyphicon-home" style="color:#23527c"></span>&nbsp;<mainpage></mainpage></li>
        <li class="active">业务工作台 / 短信发送 / 短信导入明细</li>
    </ol>
    
        <div class="marB15 form-inline clearfix">
          <form action="inputLine/out-excel" method="post" id="form">
            <div class="control-group row marR10 marT15 left" style="margin-left:0px;">
                <span class="search-name">时间选择</span>
                <div class="controls">
                     <input type="text" ng-model="searchData.startDate"  placeholder="" name="startDate" style="display: none;">
                     <input type="text" ng-model="searchData.endDate"   placeholder="" name="endDate" style="display: none;">
                    <div class="input-prepend input-group">
                        <span class="add-on input-group-addon"><i class="glyphicon glyphicon-calendar fa fa-calendar"></i></span><input type="text" readonly style="width: 155px"  id="oprateDate" class="form-control" value="2014-5-21 - 2014-6-21" />
                        <span class="input-group-addon" ng-click='clearTime()'>清空</span>
                    </div>
                </div>
            </div>
            <div class="left marR10 marT15">
                <span class="search-name">导入文件名</span>
                <input type="text" class="form-control1" placeholder=""  name="fileType" value="短信号码" style="display: none;">
                <input type="text" class="form-control1" placeholder="" 
                ng-model="searchData.fileName" 
                ng-keyup='search($event)'
                name="fileName">
            </div>
            <div class="left marR10 marT15">
                <span class="search-name">导入状态</span>
                <select class="form-control1" ng-model="searchData.status" name="status">
                    <option value="">全部</option>
                    <option value="1">成功</option>
                    <option value="0">失败</option>
                </select>
            </div>
             <input type="text" name="fileId" ng-model='searchData.fileId' style="display: none"> 
           <a href="javascript:;" class=" btn btn-primary btn-sm left marT15" id="search" ng-click='search()'><span class="glyphicon glyphicon-search"></span></a>
         </form>    
            <div class="right marT15" style="position:relative">
                <button class="btn btn-primary btn-sm" ng-click='outExcel()'><img style="width:25px; height:20px;" src="img/excel.png">导出表格<span ng-style='loadStyle' class="outExcelLoad"><img  src="img/load.gif"></span>
                </button>
            </div>
        </div>
       
      
   

    <!--<div class="row">
        <div class="col-md-8  sends ">WEB短信发送记录</div>
        <div class="col-md-2 ">
        </div>
        <div class="col-md-2"></div>
    </div>-->

  <div class="table-box">

    <table class="table table-bordered table-striped text-center bg-info">
        <thead >
        <tr class="info">
            <th class="text-center">文件记录序号</th>
            <th class="text-center">导入日期</th>
            <th class="text-center">导入文件名</th>
            <th class="text-center">记录行内容</th>
            <th class="text-center">导入状态</th>
            <th class="text-center">发送结果</th>
        </tr>
        </thead>
        <tbody>
        <tr ng-repeat = "Item in result">
            <td class="w115">{{ $index+1 }}</td>
            <td class="w85">{{ Item.uptimeDate }}</td>
            <td class="w115">{{ Item.fileName  }}</td>
            <td style="min-width: 200px; word-break: break-all;">{{ Item.lineContent  }}</td>
            <td class="w85">{{ Item.statusStr  }}</td>
            <td class="w85">{{ Item.sendResult  }}</td>
        </tr>
        </tbody>
    </table>
  </div>
    <div class="flip">
       <page></page> 
    </div>
</div>
 <!-- 加载框 -->
   <span class='loaded' ng-show='loaded'><img  src="img/load.gif"></span>
 <!-- 加载框 完成-->
